<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ActiveSpeakerObserver.onActiveSpeakerDetected - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector</a>&nbsp;/&nbsp;<a href="index.html">ActiveSpeakerObserver</a>&nbsp;/&nbsp;<a href="./on-active-speaker-detected.html">onActiveSpeakerDetected</a><br/>
<br/>
<h1>onActiveSpeakerDetected</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector.ActiveSpeakerObserver$onActiveSpeakerDetected(kotlin.Array((com.amazonaws.services.chime.sdk.meetings.audiovideo.AttendeeInfo)))"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">onActiveSpeakerDetected</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector.ActiveSpeakerObserver$onActiveSpeakerDetected(kotlin.Array((com.amazonaws.services.chime.sdk.meetings.audiovideo.AttendeeInfo)))/attendeeInfo">attendeeInfo</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo/-attendee-info/index.html"><span class="identifier">AttendeeInfo</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Notifies observers of changes to active speaker.</p>
<h3>Parameters</h3>
<p><a name="attendeeInfo"></a>
<code>attendeeInfo</code> - : Array&lt;<a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo/-attendee-info/index.html">AttendeeInfo</a>&gt; - An array of active speakers in decreasing order of score.</p>
</BODY>
</HTML>
